package router

import (
	"context"
	"meta-self/internal/controller/client/auth"
	"meta-self/internal/controller/client/license_key"

	"github.com/gogf/gf/v2/net/ghttp"
)

// Client 客户端路由
func Client(ctx context.Context, group *ghttp.RouterGroup) {
	group.Group("/client", func(group *ghttp.RouterGroup) {
		group.Group("/auth", func(group *ghttp.RouterGroup) {
			group.Bind(
				auth.NewV1(),
			)
		})

		group.Group("/license", func(group *ghttp.RouterGroup) {
			group.Bind(
				license_key.NewV1(),
			)
		})
		//group.Middleware(service.Middleware().ApiAuth)
	})
}
